package com.example.demoes.service;

import com.example.demoes.entity.OmsOrder;

import java.io.IOException;
import java.util.List;

/**
 * @author: rosszhang
 * @date: 2023/12/9 15:28
 * @description:
 **/
public interface OmsOrderClientService {

    /**
     * 根据用户名查询
     * @param memberUsername 用户名
     * @return
     */
    List<OmsOrder> getTemplateByMemberUsername(String  memberUsername) throws IOException;

    /**
     * 根据主键ID删除
     * @param id
     */
    void deleteTemplateById(Long id) throws IOException;

    /**
     * 统计总数
     * @return
     */
    long countTemplate() throws IOException;
}
